package cn.bxshey.resourceSharing.mapper;

import cn.bxshey.resourceSharing.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;


/**
 * (User)表数据库访问层
 *
 * @author makejava
 * @since 2023-12-16 17:54:45
 */

@Mapper
public interface UserMapper extends BaseMapper<User> {

    // 根据账号进行查询
    User getUserByName(String auto);

    Integer insertUser(User user);

    Integer update(User user);

}

